﻿<?php $class_a = $_SERVER['PHP_SELF'];
$class_a = explode('/',$class_a);
if(empty($class_a[2])){
    $class_a[2] = '1';
}
?>
<li><a class="bgc <?php echo $class_a[2] == 'login' || $class_a[2] =='1'? 'rightAct' : '';?>" href="/login/index"><i class="icon iconfont icon-shouye"></i>首页</a></li>
<li><a class="bgc <?php echo $class_a[2] == 'netWork' ? 'rightAct' : '';?>" href="/netWork/index1"><i class="icon iconfont icon-shijian1"></i>网格实况</a></li>
<li><a class="bgc <?php echo ($class_a[2] == 'sendsub'|| $class_a[2] == 'device' || $class_a[2] == 'quantification') ? 'rightAct' : '';?>" href="/sendsub/work_complete"><i class="icon iconfont icon-tongji"></i>统计分析</a></li>
<li><a class="bgc <?php echo $class_a[2] == 'user' ? 'rightAct' : '';?>" href="#"><i class="icon iconfont icon-geren"></i>账户</a>
    <div class="head_tip none">
       	<!-- <a href="/user/passw_save">修改密码</a> -->
        <a href="/login/logout">注销登录</a>
    </div>
</li>